gridpack::math::ImplementationVisitable Class Reference

Interface for classes that accept ImplementationVisitor's. More...

#include <implementation_visitable.hpp>

Inheritance diagram for gridpack::math::ImplementationVisitable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImplementationVisitable (void)
 Default constructor.
 ~ImplementationVisitable (void)
 Destructor.
void accept (ImplementationVisitor &visitor)
 Allow visits by implemetation visitor.
void accept (ConstImplementationVisitor &visitor) const
 Allow visits by const implemetation visitor.

Detailed Description

Interface for classes that accept ImplementationVisitor's.

Classes that can be visited by an ImplementationVisitor can subclass from this. It is still necessary to provide specialization to recognize specific classes in the ImplementationVisitor class.


Constructor & Destructor Documentation

gridpack::math::ImplementationVisitable::ImplementationVisitable ( void   ) 

Default constructor.

gridpack::math::ImplementationVisitable::~ImplementationVisitable ( void   ) 

Destructor.


Member Function Documentation

void gridpack::math::ImplementationVisitable::accept ( ConstImplementationVisitor visitor  )  const

Allow visits by const implemetation visitor.

void gridpack::math::ImplementationVisitable::accept ( ImplementationVisitor visitor  ) 

Allow visits by implemetation visitor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1